#@layout()
#define main()


<!-- 中间内容区域 -->
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md8">
	    <!-- 搜索区域 -->
    	<div class="data_list">
		    <div class="data_list_title">
		        <i class="layui-icon layui-icon-search"></i>
		        <span class="head">分类检索</span>
		    </div>
		    <div class="data_search">
		        <div>
		            <table>
		                <tbody>
		                    <tr>
		                        <td>
		                            <ul>
		                                <li><a href="/"><span id="t_0" style="color: red;">全部</span> </a></li>
		                            #for(arctype : arcTypeList)
				    					<li>
								  	  		<a href="/?typeId=#(arctype.tid)" title="#(arctype.name)">
								  	 	 		<span id="t_20">#(arctype.name)</span>
								  	  		</a>
								   		</li>
									#end
		                            </ul>
		                        </td>
		                    </tr>
		                </tbody>
		            </table>
		        </div>
		    </div>
		</div>
    	
    	<!-- 中间的文章区域 -->
	
		 <div class="data_list" style="margin-bottom: 0px;">
    		<div class="data_list_title" >
    			<i class="layui-icon layui-icon-template-1"></i>
				<span class="head">资源列表</span>
    		</div>
    	</div>
    		<div class="fly-panel" style="margin-bottom: 0;">
			    <ul class="fly-list">
			    #for(article : articleList.getList())
			        <li>
			            <a class="fly-avatar"><img class="layui-nav-img" src="/upload/avatar/#(article.image_name)"></a>
			            <h2>
			                
			                <a href="/article/#(article.aid)" title="#(article.name)">#(article.name)</a>
			            </h2>
			            <div class="fly-list-info">
			                <a style="color: #999;"><i class="layui-icon" style="padding-right: 2px!important;"></i>
			                    <cite>#(article.username)</cite>
			                </a>
			                <span>
			                    <i class="layui-icon" style="padding-right: 3px!important;"></i>
			                    <span>#date(article.publish_date, "yyyy-MM-dd")</span>
			                </span>
			                <span class="fly-list-kiss layui-hide-xs" title="积分">
			                    <i class="layui-icon layui-icon-rmb"></i>
			                    <span>#(article.points)分</span>
			                </span>
			                <span class="fly-list-nums">
			                    <i class="iconfont" title="浏览"></i>
			                    <span>#(article.view)</span>
			                </span>
			            </div>
			        </li>
			        #end
			    </ul>
				<!-- 分页 -->
				#@paginate(articleList.pageNumber, articleList.totalPage, "/list?p=")
			</div>
		
		</div>
		

   	
   		<!-- 首页的右边区域 -->
		#@left()
	
	</div>

	<!-- 友情链接区域 -->


#end